package visualizer.controller;

import java.util.LinkedHashMap;
import java.util.Map;

import visualizer.data.DataSource;

public class InputController {
	private DataSource<String> leftSearchTerm = new DataSource<String>("");
	private DataSource<String> rightSearchTerm = new DataSource<String>("");
	private DataSource<Integer> submitButton = new DataSource<Integer>(0);
	private DataSource<Map<String,Integer>> countryColors = new DataSource<Map<String,Integer>>(new LinkedHashMap<String, Integer>());
	
	public DataSource<String> getLeftSearchTermInput() {
		return leftSearchTerm;
	}
	
	public DataSource<String> getRightSearchTermInput() {
		return rightSearchTerm;
	}
	
	public DataSource<Integer> getSubmitButtonInput() {
		return submitButton;
	}
	
	public DataSource<Map<String,Integer>> getCountryColors() {
		return countryColors;
	}
}
